package com.xiao.mall.example.domain.enums;



import com.xiao.mall.foundation.annotation.EnumType;
import com.xiao.mall.foundation.entity.EnumValue;

/**
 * @author fanghong
 */
@EnumType("operationMethod")
public enum OperationMethod implements EnumValue {

    Insert("插入"),
    Update("修改"),
    Delete("删除");

    private final String desc;

    OperationMethod(String desc) {
        this.desc = desc;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
